/**
 * 
 */
package be.bejug.scrumadmin.services.impl;

import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import be.bejug.scrumadmin.domain.Story;
import be.bejug.scrumadmin.repository.StoryRepository;
import be.bejug.scrumadmin.services.BacklogService;

/**
 * @author Glenn Dejaeger
 * 
 */
// @Service
@Transactional
public class BacklogServiceImpl implements BacklogService {

	@Autowired
	private StoryRepository storyRepository;

	@Override
	@Transactional(readOnly = true)
	public Set<Story> getBacklog() {
		return storyRepository.getBacklog();
	}
}
